package com.sinochem.iot.rule.mapper;

import com.sinochem.iot.rule.model.RuleAction;
import com.sinochem.iot.rule.model.RuleActionExample;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RuleActionMapper {
    /**
     *
     * @mbggenerated
     */
    int countByExample(RuleActionExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated
     */
    int insert(RuleAction record);

    /**
     *
     * @mbggenerated
     */
    int insertSelective(RuleAction record);

    /**
     *
     * @mbggenerated
     */
    List<RuleAction> selectByExample(RuleActionExample example);

    /**
     *
     * @mbggenerated
     */
    RuleAction selectByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(RuleAction record);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(RuleAction record);

    int deleteByRuleId(Integer ruleId);
}